﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ms_page.master" AutoEventWireup="true" CodeFile="ReWorking.aspx.cs" Inherits="ReWorking" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="Scripts/datetimepicker/themes/ui-lightness/jquery.ui.datepicker.css"
        rel="stylesheet" type="text/css" />
    <link href="Scripts/datetimepicker/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet"
        type="text/css" />
    <link href="Scripts/datetimepicker/themes/ui-lightness/jquery-ui-1.8.21.custom.css"
        rel="stylesheet" type="text/css" />
    <script src="Scripts/datetimepicker/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="Scripts/jquery-ui.min.js" type="text/javascript"></script>

 <script type="text/javascript">
     $(document).ready(function () {
         $(function () {
             var currentDate = new Date();

             $("#<%=txtFromDate.ClientID %>").datepicker({ dateFormat: 'dd/mm/yy' });
             $("#<%=txtFromDate.ClientID %>").datepicker("setDate", currentDate);
             $('#btnSelect').click(function () {
                 $('#<%=txtFromDate.ClientID %>').datepicker('show');
             });
         });
     });
     $(document).ready(function () {
         $(function () {
             var currentDate = new Date();

             $("#<%=txtToDate.ClientID %>").datepicker({ dateFormat: 'dd/mm/yy' });
             $('#btnSelect').click(function () {
                 $('#<%=txtToDate.ClientID %>').datepicker('show');
             });
         });
     });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:HiddenField ID="hdfWorkingId" runat="server" Value="0" />
    <asp:HiddenField ID="hdfWordId" runat="server" Value="0" />
    <div id="profile_frame" style="width:100%"><!-- thong tin lien he -->
                    	<div id="profile_frame_tr"><!-- title -->
                        	<div style="float:left"><h5>Gửi kiểm duyệt tài liêụ</h5></div>                           
                        </div><!-- end title -->
                        <div id="profile_frame_tr">
                        	
                            	<table style="float:left; width:100%" cellpadding="3px" cellspacing="5px">
                                    <tr>
                                    	<td class="td_profile_key"></td>
                                        <td style=" color:Red; font-size:12pt">
                                            <asp:Label ID="lbmessage" runat="server" Text=""></asp:Label>
                                        </td>                                        
                                    </tr>
                                    <tr>
                                    	<td class="td_profile_key">
                                           Tên công việc:
                                        </td>
                                        <td style=" color:Red; font-size:12pt">
                                            <asp:TextBox ID="txtWorkName" runat="server" CssClass="textbox_find" Width="300px"></asp:TextBox>
                                        </td>                                        
                                    </tr>
                                    <tr>
                                    	<td class="td_profile_key">
                                           Mô tả:
                                        </td>
                                        <td style=" color:Red; font-size:12pt">
                                            <asp:TextBox ID="txtNotes" runat="server" CssClass="textbox_find" Width="400px" TextMode="MultiLine" Height="100px"></asp:TextBox>
                                        </td>                                        
                                    </tr>
                                    <tr>
                                    	<td class="td_profile_key">
                                            Giao cho:
                                        </td>
                                        <td style=" color:Red; font-size:12pt">
                                            <asp:DropDownList ID="ddlAuthor" runat="server" Width="150px" 
                                                AppendDataBoundItems="True">
                                                <asp:ListItem Value="0" Selected="True">-- Chọn người --</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>                                        
                                    </tr>
                                    <tr>
                                    	<td class="td_profile_key">
                                            Từ ngày:
                                        </td>
                                        <td style=" color:Red; font-size:12pt">
                                            <asp:TextBox ID="txtFromDate" runat="server" CssClass="textbox_find" Width="100px"></asp:TextBox>
                                        </td>                                        
                                    </tr>
                                    <tr>
                                    	<td class="td_profile_key">
                                            Đến ngày:
                                        </td>
                                        <td style=" color:Red; font-size:12pt">
                                            <asp:TextBox ID="txtToDate" runat="server" CssClass="textbox_find" Width="100px"></asp:TextBox>
                                        </td>                                        
                                    </tr>
                                      <tr>
                                    	<td class="td_profile_key"> Trạng thái:</td>
                                        <td>
                                            <asp:DropDownList ID="ddlStatus" runat="server">
                                                <asp:ListItem Value="0"> Mới</asp:ListItem>
                                                <asp:ListItem Value="1"> Đang xử lý</asp:ListItem>
                                                <asp:ListItem Value="2"> Xong</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>                                        
                                    </tr>
                                  <%--  <tr>
                                    	<td class="td_profile_key">
                                            Người nhận mail:
                                        </td>
                                        <td style=" color:Red; font-size:12pt">
                                            <asp:TextBox ID="txtUserMail" runat="server" CssClass="textbox_find" Width="500px"></asp:TextBox>
                                        </td>                                        
                                    </tr>--%>
                                    <tr>
                                    	<td class="td_profile_key" valign="top"></td>
                                        <td>
                                            <asp:Button ID="Button1" runat="server" Text="Tạo công việc" 
                                                onclick="Button1_Click" />
                                                <asp:Button ID="Button2" runat="server" Text="Cập nhật" onclick="Button2_Click" 
                                                />
                                        </td>                                   
                                    </tr>
                                </table>
                        </div><!-- end thong tin table -->
                    </div><!-- end thong tin lien he --> 
</asp:Content>

